package com.info.zhiduoduo.repository.entity.crowdsource;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 智零工完税凭证逾期表
 */
@Data
@Accessors(chain = true)
@TableName("zdd_overdue_tax_form")
public class OverdueTaxForm extends Model<OverdueTaxForm> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 开票地id
     */
    @TableField("source_id")
    private Integer sourceId;

    /**
     * 开票完成时间
     */
    @TableField("date")
    private String date;

    private static final long serialVersionUID = 1L;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
